<template>
  <div>
    <form @submit.prevent="login">
      <input type="text" name="username"  v-model.trim.lazy="form.username"/>

      <input type="text" name="password"  v-model.trim.lazy="form.password" />

      <button @click.prevent="fn">提交</button>
    </form>

  
  </div>
</template>

<script>
export default {
 data() {
    return {
        msg:'杭州的第一场雪',

        form:{
            username:'',
            password:''
        }
    };
  },

  methods: {
    login(){
      
    }
  },
}
</script>

<style scoped></style>
